package com.bincloud.vue.admin.web.dto.api.auth;

import com.bincloud.vue.admin.common.model.dto.request.BaseReqDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @Description: 用户登录入参
 * @Author: bincloud, mvpzhou
 * @Date: Create By bincloud, mvpzhou on 2022/2/18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "用户登录入参")
public class AuthLoginReqDTO extends BaseReqDTO {

    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "用户名,不可为空")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码,不可为空")
    private String password;

    @ApiModelProperty(value = "图像验证码")
    @NotBlank(message = "图像验证码,不可为空")
    private String captcha;


}
